// 确认对话框配置选项
export interface ConfirmDialogOptions {
  title?: string
  message: string
  type?: 'success' | 'warning' | 'info' | 'error'
  confirmButtonText?: string
  cancelButtonText?: string
  confirmButtonType?: 'primary' | 'success' | 'warning' | 'danger' | 'info'
  cancelButtonType?: 'primary' | 'success' | 'warning' | 'danger' | 'info'
  showCancelButton?: boolean
  showClose?: boolean
  closeOnClickModal?: boolean
  closeOnPressEscape?: boolean
  loading?: boolean
  width?: string | number
  center?: boolean
  draggable?: boolean
}

// 确认对话框事件
export interface ConfirmDialogEvents {
  'update:modelValue': (value: boolean) => void
  confirm: () => void
  cancel: () => void
}
